﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.Common;
using SystemCenterSoa.PoModel.SystemManager;
using SystemCenterSoa.PoModel.SystemSettings.InstituTions;

namespace SystemCenterSoa.IRepository.SystemSettings.InstituTions
{
    public interface IUserRepository
    {
        List<MajorsManagermentPo> BindMajors();
        List<RolesManagermentPo> BindRoles();
        List<RolePo> BindRole();
        List<DepartmentOfManagementPo> BindDep();
        List<SetPositionPo> BindSetPosition();
        List<TechnicalPositionPo> BindTechnical();
        PagerResult<UserManagermentPo> SearchPage(SearchModel searchModel);
        bool UserMentAdd(UserManagermentPo view);
        UserManagermentPo GetUserMentById(int id);
        bool UserMentUpdate(UserManagermentPo view);
        bool UserMentDelete(string ids);
    }
}
